/**
 * @description User Model
 * @author boen
 */

const mongoose = require('../db/db')

const Schema = mongoose.Schema({
    username: {
        type: String,
        require: true,
        unique: true,
    },
    password: {
        type: String,
        require: true,
    }
}, {
    timestamps: true
})

const User = mongoose.model('user', Schema)

module.exports = User